import java.util.Scanner;
//class Test{
//    public String toString() {
//        System.out.print("aaa");
//        return "bbb";
//    }
//}
class Data {

    private int x;
    private int y;

    Data(int x, int y) {
        this.x = x;
        this.y = y;
    }

    int getX() {
        return x;
    }

    int getY() {
        return y;
    }

}
public class code {

        public static void main(String[] args) {
            Scanner scanner = new Scanner(System.in);
            while (scanner.hasNextInt()) {
                int x = scanner.nextInt();
                int y = scanner.nextInt();
                Data data = new Data(x, y);
                System.out.println(data.getX() + data.getY());
            }
        }

}
